/*
 * Powered By xTOOLs
 * Dev by tao.li8@pactera.com
 * Copyright ©2009-2018 pactera.com All rights reserved.
 * Generated at Aug 5, 2020 4:24:31 PM
 */

package com.pactera.jep.service.yapin.disposition.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.pactera.jep.entity.PO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.persistence.*;
import javax.validation.constraints.Digits;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 处置信息管理表实体类
 * @Author YourName
 * @Date Aug 5, 2020 4:24:31 PM
 */
@ApiModel(value = "Disposition" , description = "处置信息管理表")
@Entity
@Table(name = "bs_col_dispositioninfo")
public class Disposition implements PO {

    @ApiModelProperty("编号")
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Length(max = 64, message = "编号长度最多64位")
    @Column(name = "DISPOSITIONINFO_ID_")
    private String dispositioninfoId;

    @ApiModelProperty("处置方式")
    @Length(max = 20, message = "处置方式长度最多20位")
    @Column(name = "DISPOSITION_MTD_CD_")
    private String dispositionMtdCd;

    @ApiModelProperty("担保品变现金额")
    @Digits(integer = 16, fraction = 2, message = "担保品变现金额不能超过18位")
    @Column(name = "REALIZATION_AMT_")
    private BigDecimal realizationAmt;

    @ApiModelProperty("变现日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Column(name = "REALIZATION_DT_")
    private Date realizationDt;

    @ApiModelProperty("变现费用")
    @Digits(integer = 16, fraction = 2, message = "变现费用不能超过18位")
    @Column(name = "REALIZATION_FEE_AMT_")
    private BigDecimal realizationFeeAmt;

    @ApiModelProperty("抵债资产入账价值")
    @Digits(integer = 16, fraction = 2, message = "抵债资产入账价值不能超过18位")
    @Column(name = "DEBT_ENTER_ACCOUNT_AMT_")
    private BigDecimal debtEnterAccountAmt;

    @ApiModelProperty("抵债资产入账日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Column(name = "DEBT_ENTER_ACCOUNT_DT_")
    private Date debtEnterAccountDt;

    @ApiModelProperty("押品编号")
    @Length(max = 40, message = "押品编号长度最多40位")
    @Column(name = "CLT_NO_")
    private String cltNo;

    @ApiModelProperty("押品ID")
    @Length(max = 32, message = "押品ID长度最多32位")
    @Column(name = "CLT_ID_")
    private String cltId;

    @ApiModelProperty("抵债资产处置直接税费")
    @Digits(integer = 16, fraction = 2, message = "抵债资产处置直接税费不能超过18位")
    @Column(name = "DIRECT_TAX_FEE_")
    private BigDecimal directTaxFee;

    @ApiModelProperty("抵债资产处置间接费用")
    @Digits(integer = 16, fraction = 2, message = "抵债资产处置间接费用不能超过18位")
    @Column(name = "INDIRECT_FEE_")
    private BigDecimal indirectFee;

    @ApiModelProperty("创建ID")
    @Length(max = 64, message = "创建ID长度最多64位")
    @Column(name = "CREATED_BY_ID_")
    private String createdById;

    @ApiModelProperty("创建姓名")
    @Length(max = 256, message = "创建姓名长度最多256位")
    @Column(name = "CREATED_BY_NAME_")
    private String createdByName;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Column(name = "CREATED_TIME_")
    private Date createdTime;

    @ApiModelProperty("删除标志")
    @Length(max = 1, message = "删除标志长度最多1位")
    @Column(name = "DELFLAG_")
    private String delflag;

    @ApiModelProperty("版本")
    @Digits(integer = 10, fraction = 0, message = "版本不能超过10位")
    @Column(name = "VERSION_")
    private Integer version;

    @ApiModelProperty("租户ID")
    @Length(max = 64, message = "租户ID长度最多64位")
    @Column(name = "TENANT_ID_")
    private String tenantId;

    @ApiModelProperty("修改ID")
    @Length(max = 64, message = "修改ID长度最多64位")
    @Column(name = "MODIFIED_BY_ID_")
    private String modifiedById;

    @ApiModelProperty("修改姓名")
    @Length(max = 256, message = "修改姓名长度最多256位")
    @Column(name = "MODIFIED_BY_NAME_")
    private String modifiedByName;

    @ApiModelProperty("修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Column(name = "MODIFIED_TIME_")
    private Date modifiedTime;

    @ApiModelProperty("显示顺序")
    @Digits(integer = 10, fraction = 0, message = "显示顺序不能超过10位")
    @Column(name = "DISPLAY_ORDER_")
    private Integer displayOrder;

    public String getDispositioninfoId(){
        return dispositioninfoId;
    }

    public void setDispositioninfoId(String dispositioninfoId){
        this.dispositioninfoId = dispositioninfoId;
    }
    public String getDispositionMtdCd(){
        return dispositionMtdCd;
    }

    public void setDispositionMtdCd(String dispositionMtdCd){
        this.dispositionMtdCd = dispositionMtdCd;
    }
    public BigDecimal getRealizationAmt(){
        return realizationAmt;
    }

    public void setRealizationAmt(BigDecimal realizationAmt){
        this.realizationAmt = realizationAmt;
    }
    public Date getRealizationDt(){
        return realizationDt;
    }

    public void setRealizationDt(Date realizationDt){
        this.realizationDt = realizationDt;
    }
    public BigDecimal getRealizationFeeAmt(){
        return realizationFeeAmt;
    }

    public void setRealizationFeeAmt(BigDecimal realizationFeeAmt){
        this.realizationFeeAmt = realizationFeeAmt;
    }
    public BigDecimal getDebtEnterAccountAmt(){
        return debtEnterAccountAmt;
    }

    public void setDebtEnterAccountAmt(BigDecimal debtEnterAccountAmt){
        this.debtEnterAccountAmt = debtEnterAccountAmt;
    }
    public Date getDebtEnterAccountDt(){
        return debtEnterAccountDt;
    }

    public void setDebtEnterAccountDt(Date debtEnterAccountDt){
        this.debtEnterAccountDt = debtEnterAccountDt;
    }
    public String getCltNo(){
        return cltNo;
    }

    public void setCltNo(String cltNo){
        this.cltNo = cltNo;
    }
    public String getCltId(){
        return cltId;
    }

    public void setCltId(String cltId){
        this.cltId = cltId;
    }
    public BigDecimal getDirectTaxFee(){
        return directTaxFee;
    }

    public void setDirectTaxFee(BigDecimal directTaxFee){
        this.directTaxFee = directTaxFee;
    }
    public BigDecimal getIndirectFee(){
        return indirectFee;
    }

    public void setIndirectFee(BigDecimal indirectFee){
        this.indirectFee = indirectFee;
    }
    public String getCreatedById(){
        return createdById;
    }

    public void setCreatedById(String createdById){
        this.createdById = createdById;
    }
    public String getCreatedByName(){
        return createdByName;
    }

    public void setCreatedByName(String createdByName){
        this.createdByName = createdByName;
    }
    public Date getCreatedTime(){
        return createdTime;
    }

    public void setCreatedTime(Date createdTime){
        this.createdTime = createdTime;
    }
    public String getDelflag(){
        return delflag;
    }

    public void setDelflag(String delflag){
        this.delflag = delflag;
    }
    public Integer getVersion(){
        return version;
    }

    public void setVersion(Integer version){
        this.version = version;
    }
    public String getTenantId(){
        return tenantId;
    }

    public void setTenantId(String tenantId){
        this.tenantId = tenantId;
    }
    public String getModifiedById(){
        return modifiedById;
    }

    public void setModifiedById(String modifiedById){
        this.modifiedById = modifiedById;
    }
    public String getModifiedByName(){
        return modifiedByName;
    }

    public void setModifiedByName(String modifiedByName){
        this.modifiedByName = modifiedByName;
    }
    public Date getModifiedTime(){
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime){
        this.modifiedTime = modifiedTime;
    }
    public Integer getDisplayOrder(){
        return displayOrder;
    }

    public void setDisplayOrder(Integer displayOrder){
        this.displayOrder = displayOrder;
    }
}

